# -- coding: utf-8 --
# file: test.py
#
from typing import DefaultDict


dd = DefaultDict(int)
dd[1] += 100
print(dd[1])


someVar = 42


def myFunction():
    print(someVar)
    someVar = 100


myFunction()
